package com.bbm.communitysystem.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class HouseGuestDto {


    @NotBlank(message = "用户id不能为空")
    @Schema(description = "用户id")
    private Long userId;

    @NotBlank(message = "房屋id不能为空")
    @Schema(description = "房屋id")
    private Long houseId;

    @NotBlank(message = "用途不能为空")
    @Schema(description = "用途")
    private String aim;

    @NotBlank(message = "来访时间不能为空")
    @Schema(description = "来访时间")
    private String GuestTime;

    @NotBlank(message = "来访人数不能为空")
    @Schema(description = "来访人数")
    public Integer GuestNum;

}
